package com.wlgc.service;

import com.wlgc.entity.PageResult;
import com.wlgc.entity.User;
import com.wlgc.entity.dto.UserPageQueryDTO;

public interface UserService {
    public User getUserByUid(int uid);
    public User getUserBySid(int sid);
    public  User getUserByUsername(String username);
    public boolean addUser(String username,String password,int sid);
    public User getUserByEmail(String email);
    public int changeAvatar_Path(int uid,String avatar_path);
    public String getAvatar_PathByUsername(String username);

    //根据班级分页查询用户
    PageResult pageQuery(UserPageQueryDTO userPageQueryDTO);
}
